package com.hy.service;

import com.hy.domain.UserFriend;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hy.domain.dto.UserDTO;

import java.util.List;

/**
* @author hou
* @description 针对表【user_friend】的数据库操作Service
* @createDate 2023-06-08 15:52:31
*/
public interface UserFriendService extends IService<UserFriend> {

    List<UserDTO> listFriendsByUserId(Long userId);

    void addFriend(Long friendId);

    void deleteFriend(Long friendId);

    List<UserFriend> searchByKeyword(String trim);

    List<Long> listIdsByUserId(Long userId);
}
